package com.qiqu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;
import java.io.Serializable;

/**
 * @author Administrator
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "enclosure")
public class Enclosure implements Serializable {
    private static final long serialVersionUID = -38595015235256510L;
    @Id
    private String id;
    private Integer width;
    private Integer height;
    private Integer type;
    private String path;
    private String article;
    @Temporal(TemporalType.TIMESTAMP)
    private Date createTime;
    private String userId;
}
